//
//  LSCustomView.h
//  CROSBY
//
//  Created by Harvey on 2018/3/27.
//  Copyright © 2018年 Haley. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LSSquareView.h"

@class LSGraffitiView;
@protocol LSGraffitiViewDelegate<NSObject>

- (void)graffitiView:(LSGraffitiView *)graffitiView touchOn:(LSSquareView *)view;

@end

@interface LSGraffitiView : UIView

@property (weak, nonatomic) id<LSGraffitiViewDelegate>            delegate;

@property (assign, nonatomic)  int         rows; //总行数

@property (assign, nonatomic)   int         cols;// 总列表

@property (strong, nonatomic) NSArray            *data;

- (void)reset;

@end

